package leetcode.math;

import leetcode.math.common.MathUtils;

class Solution509 {
    public int fib(int n) {
        return MathUtils.fib(n);
    }
}

public class leetcode509 {
    public static void main(String[] args) {
        Solution509 solution509 = new Solution509();
        System.out.println(solution509.fib(0));
        System.out.println(solution509.fib(1));
        System.out.println(solution509.fib(2));
        System.out.println(solution509.fib(3));
        System.out.println(solution509.fib(4));
        System.out.println(solution509.fib(30));
    }
}
